package com.humble.humbleojmodel.model.codeSandbox;/*
  humble keep gonging
*/

import com.humble.humbleojmodel.model.dto.QuestionSubmit.JudgeInfo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ExecuteCodeResponse {
    /**
     * 运行状态码，正常运行返回0，运行出现错误返回1
     */
    Integer status;

    /**
     * 代码沙箱的信息
     */
    private String message;

    /**
     * 输出用例
     */
    private List<String> outputList;

    /**
     * 判题依据（时间，内存...）
     */
    private JudgeInfo judgeInfo;
}
